package com.edou.member.entity;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.edou.base.entity.BaseBusEntity;

/**
 * 会员基本信息
 * @creator     
 * @create-time 2016/3/12 16:10:22
 * @email admin@edou.com
 * @company www.edou.com
 * @version 1.0
 */
public class MemberUser extends BaseBusEntity {
	/**  */
	private static final long serialVersionUID = 1L;

	/** 会员帐号 */
	private String account;
	/** 登录密码 */
	private String password;
	/** 手机号码 */
	private String mobile;
	/** 手机号码是否绑定：0-否，1-是 */
	private Integer mobileTrue;
	/** 电子邮箱 */
	private String email;
	/** 电子邮箱是否绑定：0-否，1-是 */
	private Integer emailTrue;
	/** 帐号状态：0-启用，1-禁用 */
	private Integer state;
	/** 会员类型：由数据字典进行设定 */
	private String type;
	/** 会员级别：由数据字典进行设定 */
	private String level;
	/** 积分余额 */
	private Integer balancePoint;
	/** 积分余额-可提现 */
	private Integer balancePointWithdraw;
	/** 账户余额 */
	private Double balanceMoney;
	/** 姓名 */
	private String name;
	/** 昵称 */
	private String nickName;
	/** 头像 */
	private String facePath;
	/** 出生日期 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date birthday;
	/** 性别：0-女，1-男 */
	private Integer sex;
	/** 一句话简介 */
	private String descBrief;
	/** 详细描述 */
	private String desc;
	/** QQ */
	private String qq;
	/** 微信号 */
	private String wechat;
	/** 其他联系方式 */
	private String contactOther;
	/** 地址 */
	private String address;
	/** 备注描述 */
	private String remark;
	/** 审核状态0-待审核1-审核通过2-审核不通过 */
	private Integer approvalState;
	
	/**扩充字段*/
	/**会员角色名称*/
	private String roleName;
	
	/** 会员所在公司 */
	private MemberCompany company;
	/** 会员所在公司的关联表 */
	private MemberUserCompany memberUserCompany;
	
	/** 会员邀请码 */
	private String inviteCode;
	
	/** 会员角色ID */
	private String memberRoleId;
	/** 会员企业ID(保存会员集团) */
	private String memberCompanyId;
	/** 会员企业ID(保存会员医院) */
	private String memberCompanyHospitalId;
	
	/**日对比*/
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date day;
	/**周对比*/
	private String week;
	/**月对比*/
	private String months;
	/**条数*/
	private Integer num;
	
	/** 实名认证属性*/
	/** 身份证号*/
	private String certIdcard; 
	/** 认证照片*/
	private String certIdcardPath; 
	/** 状态：0-待审核 1-审核通过 2-审核不通过*/
	private Integer certState; 
	
	/** 设备ID */
	private String deviceId;
	/** 设备类型 */
	private Integer deviceType;
	
	public MemberCompany getCompany() {
		return company;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public Integer getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(Integer deviceType) {
		this.deviceType = deviceType;
	}

	public Integer getBalancePoint() {
		return balancePoint;
	}

	public void setBalancePoint(Integer balancePoint) {
		this.balancePoint = balancePoint;
	}

	public Integer getBalancePointWithdraw() {
		return balancePointWithdraw;
	}

	public void setBalancePointWithdraw(Integer balancePointWithdraw) {
		this.balancePointWithdraw = balancePointWithdraw;
	}

	public Double getBalanceMoney() {
		return balanceMoney;
	}

	public void setBalanceMoney(Double balanceMoney) {
		this.balanceMoney = balanceMoney;
	}

	public void setCompany(MemberCompany company) {
		this.company = company;
	}

	public MemberUserCompany getMemberUserCompany() {
		return memberUserCompany;
	}

	public void setMemberUserCompany(MemberUserCompany memberUserCompany) {
		this.memberUserCompany = memberUserCompany;
	}

	public MemberUser() {
		super();
	}

	/** 会员帐号 */
	public String getAccount(){
		return this.account;
	}

	/** 会员帐号 */
	public void setAccount(String account){
		this.account = account;
	}

	/** 登录密码 */
	public String getPassword(){
		return this.password;
	}

	/** 登录密码 */
	public void setPassword(String password){
		this.password = password;
	}

	/** 手机号码 */
	public String getMobile(){
		return this.mobile;
	}

	/** 手机号码 */
	public void setMobile(String mobile){
		this.mobile = mobile;
	}

	/** 手机号码是否绑定：0-否，1-是 */
	public Integer getMobileTrue(){
		return this.mobileTrue;
	}

	/** 手机号码是否绑定：0-否，1-是 */
	public void setMobileTrue(Integer mobileTrue){
		this.mobileTrue = mobileTrue;
	}

	/** 电子邮箱 */
	public String getEmail(){
		return this.email;
	}

	/** 电子邮箱 */
	public void setEmail(String email){
		this.email = email;
	}

	/** 电子邮箱是否绑定：0-否，1-是 */
	public Integer getEmailTrue(){
		return this.emailTrue;
	}

	/** 电子邮箱是否绑定：0-否，1-是 */
	public void setEmailTrue(Integer emailTrue){
		this.emailTrue = emailTrue;
	}

	/** 帐号状态：0-启用，1-禁用 */
	public Integer getState(){
		return this.state;
	}

	/** 帐号状态：0-启用，1-禁用 */
	public void setState(Integer state){
		this.state = state;
	}

	/** 会员类型：由数据字典进行设定 */
	public String getType(){
		return this.type;
	}

	/** 会员类型：由数据字典进行设定 */
	public void setType(String type){
		this.type = type;
	}

	/** 会员级别：由数据字典进行设定 */
	public String getLevel(){
		return this.level;
	}

	/** 会员级别：由数据字典进行设定 */
	public void setLevel(String level){
		this.level = level;
	}

	/** 姓名 */
	public String getName(){
		return this.name;
	}

	/** 姓名 */
	public void setName(String name){
		this.name = name;
	}

	/** 昵称 */
	public String getNickName(){
		return this.nickName;
	}

	/** 昵称 */
	public void setNickName(String nickName){
		this.nickName = nickName;
	}

	/** 头像 */
	public String getFacePath(){
		return this.facePath;
	}

	/** 头像 */
	public void setFacePath(String facePath){
		this.facePath = facePath;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	
	/** 性别：0-女，1-男 */
	public Integer getSex(){
		return this.sex;
	}

	/** 性别：0-女，1-男 */
	public void setSex(Integer sex){
		this.sex = sex;
	}

	/** 一句话简介 */
	public String getDescBrief(){
		return this.descBrief;
	}

	/** 一句话简介 */
	public void setDescBrief(String descBrief){
		this.descBrief = descBrief;
	}

	/** 详细描述 */
	public String getDesc(){
		return this.desc;
	}

	/** 详细描述 */
	public void setDesc(String desc){
		this.desc = desc;
	}

	/** QQ */
	public String getQq(){
		return this.qq;
	}

	/** QQ */
	public void setQq(String qq){
		this.qq = qq;
	}

	/** 微信号 */
	public String getWechat(){
		return this.wechat;
	}

	/** 微信号 */
	public void setWechat(String wechat){
		this.wechat = wechat;
	}

	/** 其他联系方式 */
	public String getContactOther(){
		return this.contactOther;
	}

	/** 其他联系方式 */
	public void setContactOther(String contactOther){
		this.contactOther = contactOther;
	}

	/** 地址 */
	public String getAddress(){
		return this.address;
	}

	/** 地址 */
	public void setAddress(String address){
		this.address = address;
	}

	/** 备注描述 */
	public String getRemark(){
		return this.remark;
	}

	/** 备注描述 */
	public void setRemark(String remark){
		this.remark = remark;
	}

	public String getMemberRoleId() {
		return memberRoleId;
	}

	public void setMemberRoleId(String memberRoleId) {
		this.memberRoleId = memberRoleId;
	}

	public String getMemberCompanyId() {
		return memberCompanyId;
	}

	public void setMemberCompanyId(String memberCompanyId) {
		this.memberCompanyId = memberCompanyId;
	}

	public String getMemberCompanyHospitalId() {
		return memberCompanyHospitalId;
	}

	public void setMemberCompanyHospitalId(String memberCompanyHospitalId) {
		this.memberCompanyHospitalId = memberCompanyHospitalId;
	}

	public Integer getApprovalState() {
		return approvalState;
	}

	public void setApprovalState(Integer approvalState) {
		this.approvalState = approvalState;
	}

	public String getInviteCode() {
		return inviteCode;
	}

	public void setInviteCode(String inviteCode) {
		this.inviteCode = inviteCode;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Date getDay() {
		return day;
	}

	public void setDay(Date day) {
		this.day = day;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getWeek() {
		return week;
	}

	public void setWeek(String week) {
		this.week = week;
	}

	public String getMonths() {
		return months;
	}

	public void setMonths(String months) {
		this.months = months;
	}

	/** 身份证号 */
	public String getCertIdcard() {
		return certIdcard;
	}

	/** 身份证号 */
	public void setCertIdcard(String certIdcard) {
		this.certIdcard = certIdcard;
	}

	/** 认证照片 */
	public String getCertIdcardPath() {
		return certIdcardPath;
	}

	/** 认证照片 */
	public void setCertIdcardPath(String certIdcardPath) {
		this.certIdcardPath = certIdcardPath;
	}

	/** 状态：0-待审核 1-审核通过 2-审核不通过 */
	public Integer getCertState() {
		return certState;
	}

	/** 状态：0-待审核 1-审核通过 2-审核不通过 */
	public void setCertState(Integer certState) {
		this.certState = certState;
	}
	
}